package com.education.platform.api.service.impl;

import com.education.platform.common.util.BeanUtil;
import com.education.platform.dao.entity.SysDictionaryDO;
import org.springframework.beans.factory.annotation.Autowired;
import com.education.platform.common.service.impl.BaseServiceImpl;
import com.education.platform.dao.SysDictionaryDao;
import org.springframework.stereotype.Service;
import com.education.platform.api.service.SysDictionaryService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
* describe: 字典表
* @author : tomato
* @date: 2020-06-06 02:55:53.237
**/
@Service
public class SysDictionaryServiceImpl extends BaseServiceImpl<SysDictionaryDao, SysDictionaryDO> implements SysDictionaryService {

	private static final Logger LOGGER = LoggerFactory.getLogger(SysDictionaryServiceImpl.class);

    @Autowired
	private SysDictionaryDao sysDictionaryDao;


    /**
     * 字段类型编码集合查询
     *
     * @param typeCodes
     * @return
     */
    @Override
    public List<SysDictionaryDO> getListByDicTypeCodeList(List<String> typeCodes) {
        return sysDictionaryDao.getListByDicTypeCodeList(typeCodes);
    }
}
